package com.example.yiqinmanagersystem.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.yiqinmanagersystem.entity.LineTrend;
import com.example.yiqinmanagersystem.entity.NocvData;
import com.example.yiqinmanagersystem.mapper.DataDisplayMapper;
import com.example.yiqinmanagersystem.service.DataDisplayService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/*
 **@Author:youpeng
 **Created on 2022/9/11
 */
@Service
public class DataDisplayServiceImpl extends ServiceImpl<DataDisplayMapper, NocvData> implements DataDisplayService {

    @Resource
    private DataDisplayMapper dataDisplayMapper;

    @Override
    public List<LineTrend> findSevenData() {
        List<LineTrend> list = dataDisplayMapper.findSevenData();
        return list;
    }
}
